gapi.loaded_1(function(_){var window=this; _.Eg=(window.gapi||{}).load; _.Xn=_.Be(_.Oe,"rw",_.Ce()); var Yn=function(a,b){(a=_.Xn[a])&&a.state=0};po=function(a){return _.Be(_.Oe,"watt",_.Ce())[a]};qo=function(a){return function(b,c){return a?_.hm()[c]||a[c]||"":_.hm()[c]||""}};_.ro={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1};_.so=!1; _.to=function(){if(!_.so){for(var a=document.getElementsByTagName("meta"),b=0;b0&&(b=_.Ie(a,e,""))&&(_.ho[e]=b)}_.so=!0}e=_.Ce();_.Ge(_.ho,e);return e};uo=function(a){var b;a.match(/^https?%3A/i)&&(b=decodeURIComponent(a));a=b?b:a;return _.Il(document,a)}; vo=function(a){a=a||"canonical";for(var b=document.getElementsByTagName("link"),c=0,d=b.length;c=0||c&&h.indexOf("data-")!=0||k==="null"||"specified"in f&&!f.specified||(c&&(h=h.substr(5)),b[h.toLowerCase()]=k)}a=a.style;(c=Ho(a&&a.height))&&(b.height=String(c));(a=Ho(a&&a.width))&&(b.width=String(a));return b}; _.Ko=function(a,b,c,d,e,f){if(c.rd)var h=b;else h=document.createElement("div"),b.dataset.gapistub=!0,h.style.cssText="position:absolute;width:450px;left:-10000px;",b.parentNode.insertBefore(h,b);f.siteElement=h;h.id||(h.id=_.Jo(a));b=_.Ce();b[">type"]=a;_.Ge(c,b);a=_.lm(d,h,e);f.iframeNode=a;f.id=a.getAttribute("id")};_.Jo=function(a){_.Be(Fo,a,0);return"___"+a+"_"+Fo[a]++};Ho=function(a){var b=void 0;typeof a==="number"?b=a:typeof a==="string"&&(b=parseInt(a,10));return b};var lo=_.kd(["data-"]),Lo,Mo,No,Oo,Po=/(?:^|\s)g-((\S)*)(?:$|\s)/,Qo={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Lo=_.Be(_.Oe,"SW",_.Ce());Mo=_.Be(_.Oe,"SA",_.Ce());No=_.Be(_.Oe,"SM",_.Ce());Oo=_.Be(_.Oe,"FW",[]); var Ro=function(a,b){return(typeof a==="string"?document.getElementById(a):a)||b},Vo=function(a,b){var c;So.ps0=(new Date).getTime();To("ps0");a=Ro(a,_.ye);var d=_.ye.documentMode;if(a.querySelectorAll&&(!d||d>8)){d=b?[b]:mo(Lo).concat(mo(Mo)).concat(mo(No));for(var e=[],f=0;f0&&t>=e&&(f.ic="1");t=/^#|^fr-/;e={};for(var w in f)_.Fe(f,w)&&t.test(w)&&(e[w.replace(t,"")]=f[w],delete f[w]);w=_.Ye("iframes/"+a+"/params/si")=="q"?f:e;t=_.to();for(var x in t)!_.Fe(t,x)||_.Fe(f,x)||_.Fe(e,x)||(w[x]=t[x]);x=[].concat(Eo);w=_.Ye("iframes/"+a+"/methods");_.Am(w)&&(x=x.concat(w));for(v in c)_.Fe(c,v)&&/^on/.test(v)&&(a!="plus"||v!="onconnect")&&(x.push(v),delete f[v]);delete f.callback;e._methods=x.join(",");var v=_.Hl(n,f,e);x=h||{};x.allowPost= 1;x.attributes=Do;x.dontclear=!k;h={};h.userParams=c;h.url=v;h.type=a;_.Ko(a,b,c,v,x,h);b=h.id;c=_.Ce();c.id=b;c.userParams=h.userParams;c.url=h.url;c.type=h.type;c.state=1;_.Xn[b]=c;b=h}else b=null;b&&((c=b.id)&&d.push(c),Wo(a,b))}},Xo=function(a,b,c){if(a&&a.nodeType===1&&b){if(c)return 1;if(No[b]){if(no[a.nodeName.toLowerCase()])return(a=a.innerHTML)&&a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(Mo[b])return 0;if(Lo[b])return 1}}return null};_.Be(_.He,"platform",{}).go=function(a,b){Vo(a,b)};var Yo=_.Be(_.Oe,"perf",_.Ce()),So=_.Be(Yo,"g",_.Ce()),Zo=_.Be(Yo,"i",_.Ce()),$o,ap,bp,To,dp,ep,fp;_.Be(Yo,"r",[]);$o=_.Ce();ap=_.Ce();bp=function(a,b,c,d){$o[c]=$o[c]||!!d;_.Be(ap,c,[]);ap[c].push([a,b])};To=function(a,b,c){var d=Yo.r;typeof d==="function"?d(a,b,c):d.push([a,b,c])};dp=function(a,b,c,d){if(b=="_p")throw Error("H");_.cp(a,b,c,d)};_.cp=function(a,b,c,d){ep(b,c)[a]=d||(new Date).getTime();To(a,b,c)};ep=function(a,b){a=_.Be(Zo,a,_.Ce());return _.Be(a,b,_.Ce())}; fp=function(a,b,c){var d=null;b&&c&&(d=ep(b,c)[a]);return d||So[a]};(function(){function a(h){this.t={};this.tick=function(k,l,m){this.t[k]=[m!=void 0?m:(new Date).getTime(),l];if(m==void 0)try{window.console.timeStamp("CSI/"+k)}catch(n){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,h)}var b;if(window.performance)var c=(b=window.performance.timing)&&b.responseStart;var d=c>0?new a(c):new a;window.__gapi_jstiming__={Timer:a,load:d};if(b){var e=b.navigationStart;e>0&&c>=e&&(window.__gapi_jstiming__.srt=c-e)}if(b){var f=window.__gapi_jstiming__.load; e>0&&c>=e&&(f.tick("_wtsrt",void 0,e),f.tick("wtsrt_","_wtsrt",c),f.tick("tbsd_","wtsrt_"))}try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT),f&&e>0&&(f.tick("_tbnd",void 0,window.chrome.csi().startE),f.tick("tbnd_","_tbnd",e))),b==null&&window.gtbExternal&&(b=window.gtbExternal.pageT()),b==null&&window.external&&(b=window.external.pageT,f&&e>0&&(f.tick("_tbnd",void 0,window.external.startE),f.tick("tbnd_","_tbnd",e))),b&&(window.__gapi_jstiming__.pt=b)}catch(h){}})();if(window.__gapi_jstiming__){window.__gapi_jstiming__.GQ={};window.__gapi_jstiming__.aoa=1;var gp=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],e=c!=void 0?c:e[0],Math.round(d-e)},kp=function(a,b,c){var d="";window.__gapi_jstiming__.srt&&(d+="&srt="+window.__gapi_jstiming__.srt,delete window.__gapi_jstiming__.srt);window.__gapi_jstiming__.pt&&(d+="&tbsrt="+window.__gapi_jstiming__.pt,delete window.__gapi_jstiming__.pt);try{window.external&&window.external.tran?d+="&tran="+ window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(r){}var e=window.chrome;if(e&&(e=e.loadTimes)&&typeof e==="function"&&(e=e())){e.wasFetchedViaSpdy&&(d+="&p=s");if(e.wasNpnNegotiated){d+="&npn=1";var f=e.npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||escape)(f))}e.wasAlternateProtocolAvailable&&(d+="&apa=1")}var h=a.t,k=h.start;e=[];f=[];for(var l in h)if(l!= "start"&&l.indexOf("_")!=0){var m=h[l][1];m?h[m]&&f.push(l+"."+gp(a,l,h[m][0])):k&&e.push(l+"."+gp(a,l))}delete h.start;if(b)for(var n in b)d+="&"+n+"="+b[n];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.__gapi_jstiming__.sn||"gwidget")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",e.join(",")].join("")},lp=function(a,b,c){a=kp(a,b,c);if(!a)return"";b=new Image;var d=window.__gapi_jstiming__.aoa++; window.__gapi_jstiming__.GQ[d]=b;b.onload=b.onerror=function(){window.__gapi_jstiming__&&delete window.__gapi_jstiming__.GQ[d]};b.src=a;b=null;return a};window.__gapi_jstiming__.report=function(a,b,c){var d=document.visibilityState,e="visibilitychange";d||(d=document.webkitVisibilityState,e="webkitvisibilitychange");if(d=="prerender"){var f=!1,h=function(){if(!f){b?b.prerender="1":b={prerender:"1"};if((document.visibilityState||document.webkitVisibilityState)=="prerender")var k=!1;else lp(a,b,c), k=!0;k&&(f=!0,document.removeEventListener(e,h,!1))}};document.addEventListener(e,h,!1);return""}return lp(a,b,c)}};var mp={g:"gapi_global",m:"gapi_module",w:"gwidget"},np=function(a,b){this.type=a?a=="_p"?"m":"w":"g";this.name=a;this.bt=b};np.prototype.key=function(){switch(this.type){case "g":return this.type;case "m":return this.type+"."+this.bt;case "w":return this.type+"."+this.name+this.bt}}; var op=new np,pp=navigator.userAgent.match(/iPhone|iPad|Android|PalmWebOS|Maemo|Bada/),qp=_.Be(Yo,"_c",_.Ce()),rp=Math.random()<(_.Ye("csi/rate")||0),tp=function(a,b,c){for(var d=new np(b,c),e=_.Be(qp,d.key(),_.Ce()),f=ap[a]||[],h=0;h=0;--d){var e=a.uz[d],f=b[a.X6[e]||e]||b[e],h=b[e];h&&f!==h&&(f=function(l,m){return function(n){m.apply(this,arguments);l.apply(this,arguments)}}(f,h));f&&(c[e]=f)}for(var k in a.DE)a.DE.hasOwnProperty(k)&&(c[k]=Up(c[k]||function(){},a.DE[k]));c.drefresh=Hp;c.erefresh=Ip;return c}; Up=function(a,b){return function(c){var d=b(c);if(d){var e=c.href||null;if(zp){if(window._gat)try{var f=window._gat._getTrackerByName("~0");f&&f._getAccount()!="UA-XXXXX-X"?f._trackSocial("Google",d,e):window._gaq&&window._gaq.push(["_trackSocial","Google",d,e])}catch(k){}if(window.ga&&window.ga.getAll)try{var h=window.ga.getAll();for(f=0;f0;)a(b.shift())}; dq=function(a,b){a.kq++;dp("wrs",a.Xe,String(a.kq));var c=b.userParams,d=aq(a.config,c),e=[],f=b.iframeNode,h=b.siteElement,k=Op(a,d),l=aq(a.parameters,c);_.Ge(_.to(),l);l=$p(d,l);c=!!c["data-onload"];var m=_.Om,n=_.Ce();n.renderData=b;n.height=d.height;n.width=d.width;n.id=b.id;n.url=b.url;n.iframeEl=f;n.where=n.container=h;n.apis=["_open"];n.messageHandlers=k;n.messageHandlersFilter=_.Rm;_.eo(n);f=l;a.Zm&&(e[2]=n,e[3]=f,e[4]=k,a.Zm("i",e));k=m.attach(n);k.id=b.id;k.ZM(k,n);Pp(k,d);Qp(k,h);Rp(a, k,c);Sp(a.Xe,a.kq.toString(),k);e[5]=k;a.Zm&&a.Zm("e",e)};eq=function(a,b){var c=b.url;a.Oqa||_.Ti(c)?dq(a,b):_.Sa.open?cq(a,b):(0,_.Eg)("iframes",function(){cq(a,b)})}; _.fq=function(a){var b=Tp(a);bq(b);_.Xf(b.Xe,function(d){eq(b,d)});Lo[b.Xe]=!0;var c={Da:function(d,e,f){var h=e||{};h.type=b.Xe;e=h.type;delete h.type;var k=Ro(d);if(k){d={};for(var l in h)_.Fe(h,l)&&(d[l.toLowerCase()]=h[l]);d.rd=1;(l=!!d.ri)&&delete d.ri;Uo(e,k,d,[],0,l,f)}else _.Uf.log("gapi."+e+".render: missing element "+typeof d==="string"?d:"")},go:function(d){Vo(d,b.Xe)},QBa:function(){var d=_.Be(_.Oe,"WI",_.Ce()),e;for(e in d)delete d[e]}};a=function(){yp==="onload"&&c.go()};if(!oo(b.Xe)){if(!_.Vf())try{a()}catch(d){}_.Wf(a)}_.q("gapi."+ b.Xe+".go",c.go);_.q("gapi."+b.Xe+".render",c.Da);return c};var gq=function(){var a=window;return!!a.performance&&!!a.performance.getEntries},Sp=function(a,b,c){if(gq()){var d=function(){var f=!1;return function(){if(f)return!0;f=!0;return!1}}(),e=function(){d()||window.setTimeout(function(){var f=c.getIframeEl().src;var h=f.indexOf("#");h!=-1&&(f=f.substring(0,h));f=window.performance.getEntriesByName(f);f.length<1?f=null:(f=f[0],f=f.responseStart==0?null:f);if(f){h=Math.round(f.requestStart);var k=Math.round(f.responseStart),l=Math.round(f.responseEnd); dp("wrt0",a,b,Math.round(f.startTime));dp("wrt1",a,b,h);dp("wrt2",a,b,k);dp("wrt3",a,b,l)}},1E3)};c.register(Wp(c),e,Yp);c.register(Xp(c),e,Yp)}};_.q("gapi.widget.make",_.fq); _.bf=_.bf||{};_.bf.ww=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0}; _.Sa.Pa.Pi.ww=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0&&(f=a[0].nonce||a[0].getAttribute("nonce"));if(f&&f===b||!f&&yq())if(e=zq(c),d.push(25),typeof e=== "object")return e;return{}}};Bq=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length-1],"___goc")&&typeof a[a.length-1].___goc==="undefined"&&(c=a.pop());xq(c,b);a.push(c)}; _.Cq=function(a,b){var c;if(typeof a==="string"){var d=c={};a=a.split("/");for(var e=0,f=a.length;e0&&e[e.length-1].src&&a.push(e[e.length-1]);for(e=0;e< a.length;++e)a[e].getAttribute("gapi_processed")||(a[e].setAttribute("gapi_processed",!0),(f=a[e])?(h=f.nodeType,f=h==3||h==4?f.nodeValue:f.textContent||""):f=void 0,h=a[e].nonce||a[e].getAttribute("nonce"),(f=Aq(f,h))&&d.push(f));c&&Bq(b,c);a=vq("cd");c=0;for(d=a.length;c255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Fh,Gh,Ih;Fh={};Gh=null;_.Hh=_.Ed||_.Fd||!_.zh&&typeof _.Xa.atob=="function";_.Jh=function(a,b){b===void 0&&(b=0);Ih();b=Fh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")}; _.Kh=function(a,b){function c(l){for(;d>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}}; Ih=function(){if(!Gh){Gh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Fh[c]=d;for(var e=0;e=0;b--)this.remove(a[b])};gi=function(a){a=(a.Bc.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f-1?(b=a[h],c||(b.rz=!1)):(b=new mj(b,this.src,f,!!d,e),b.rz=c,a.push(b));return b};_.fj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.re))return!1;var e=this.re[a];b=oj(e,b,c,d);return b>-1?(nj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.re[a],this.py--),!0):!1}; _.pj=function(a,b){var c=b.type;if(!(c in a.re))return!1;var d=_.Yi(a.re[c],b);d&&(nj(b),a.re[c].length==0&&(delete a.re[c],a.py--));return d};_.fj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.re)if(!a||c==a){for(var d=this.re[c],e=0;e-1?a[e]:null}; _.fj.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return ej(this.re,function(f){for(var h=0;h>>0);_.vj=function(a){if(typeof a==="function")return a;a[Cj]||(a[Cj]=function(b){return a.handleEvent(b)});return a[Cj]};_.dj(function(a){Aj=a(Aj)}); _.Dj=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.Yd.prototype.U=_.kb(1,function(a){return _.ae(this.Bc,a)});_.Ej=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f=0;f--){var h=a.currentTarget=b[f];e=h.Tu(d,!0,a)&&e}a.Rw||(h=a.currentTarget=c,e=h.Tu(d,!0,a)&&e,a.Rw||(e=h.Tu(d,!1,a)&&e));if(b)for(f=0;!a.Rw&&f=0};_.nr=function(){return _.Ub&&_.Nc?_.Nc.mobile:!_.mr()&&(_.Pc("iPod")||_.Pc("iPhone")||_.Pc("Android")||_.Pc("IEMobile"))}; _.mr=function(){return _.Ub&&_.Nc?!_.Nc.mobile&&(_.Pc("iPad")||_.Pc("Android")||_.Pc("Silk")):_.Pc("iPad")||_.Pc("Android")&&!_.Pc("Mobile")||_.Pc("Silk")};_.or=function(){return!_.nr()&&!_.mr()}; var ys;ys=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.zs=function(a,b,c,d){return Array.prototype.splice.apply(a,ys(arguments,1))};_.As=function(a,b,c){if(a!==null&&b in a)throw Error("h`"+b);a[b]=c};_.Bs=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=document,a=a?(b||c).querySelector(a?"."+a:""):_.be(c,"*",a,b)[0]||null);return a||null}; _.Cs=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Ds=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.Es=function(a){_.Vi.call(this);this.yg=a;this.qc={}};_.cb(_.Es,_.Vi);var Fs=[];_.Es.prototype.va=function(a,b,c,d){return this.ow(a,b,c,d)}; _.Es.prototype.ow=function(a,b,c,d,e){Array.isArray(b)||(b&&(Fs[0]=b.toString()),b=Fs);for(var f=0;f=0))throw Error("R`"+a);if(!wu(b))throw Error("S`"+a);this.tc[a]||(this.tc[a]=[]);uu(this.tc[a],b)<0&&this.tc[a].push(b)};Du.prototype.removeEventListener=function(a,b){if(!(uu(this.FO,a)>=0))throw Error("R`"+a);wu(b)&&this.tc[a]&&this.tc[a].length&&(b=uu(this.tc[a],b),b>=0&&this.tc[a].splice(b,1))}; Du.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&uu(this.FO,b)>=0))throw Error("T`"+b);if(this.tc[b]&&this.tc[b].length)for(var c=this.tc[b].length,d=0;d>>31)&4294967295;r=e[0];var x=e[1],v=e[2],z=e[3],B=e[4];for(w=0;w<80;w++){if(w<40)if(w<20){var C=z^x&(v^z);var D=1518500249}else C= x^v^z,D=1859775393;else w<60?(C=x&v|z&(x|v),D=2400959708):(C=x^v^z,D=3395469782);C=((r<<5|r>>>27)&4294967295)+C+B+D+t[w]&4294967295;B=z;z=v;v=(x<<30|x>>>2)&4294967295;x=r;r=C}e[0]=e[0]+r&4294967295;e[1]=e[1]+x&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+B&4294967295}function c(r,t){if(typeof r==="string"){r=unescape(encodeURIComponent(r));for(var w=[],x=0,v=r.length;x=56;w--)f[w]=t&255,t>>>=8;b(f);for(w=t=0;w<5;w++)for(var x=24;x>=0;x-=8)r[t++]=e[w]>>x&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Xi:function(){for(var r=d(),t="",w=0;w2&&(e=f[2]);(f=e&&uu(e.split("|"),c)>=0)?Su(e,d):Su(e?e+"|"+c:c,d);c=!f;var h=this.CX,k=this.zoa;d=this.ln;e=this.ht;e=e===void 0?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&wu(document.requestStorageAccess)&& (l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");Lu(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.ru&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Po=f}a&&this.CC.push(a)}};_.g.TY=function(){return this.Oo&&this.Yx};_.g.wo=function(){return this.wX}; cv=function(a){for(var b=0;b=0)throw Error("ba");};_.bv.prototype.Bj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;fv(f);b=_.xu(b);_.ev(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.bv.prototype.gC=function(a,b,c,d,e){b=_.xu(b);_.ev(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};gv=function(a,b,c){fv(b.identifier);_.ev(a,"getSessionSelector",b,c)}; _.hv=function(a,b,c,d,e){fv(b.identifier);_.ev(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};iv=function(a,b,c,d,e,f,h){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);b.useFedCm=e;f&&(b.fedCmEnabled=f);_.ev(a,"monitorClient",b,h)};_.bv.prototype.revoke=_.gb(8);_.bv.prototype.Yt=_.gb(10);Eu.zB={};Eu.HH=function(a){return Eu.zB[a]}; Eu.iC=function(a,b,c){c=c===void 0?!1:c;var d=Eu.HH(a);if(!d){d=String;if(Vu){var e=new window.Uint32Array(1);Uu.getRandomValues(e);e=Number("0."+e[0])}else e=Xu,e+=parseInt(Zu.substr(0,20),16),Zu=av(Zu),e/=Yu+1.2089258196146292E24;d=new _.bv(a,d(2147483647*e),c);Eu.zB[a]=d}d.iC(b)};Eu.jia=function(a){for(var b in Eu.zB){var c=Eu.HH(b);if(c&&c.Po&&c.Po.contentWindow==a.source&&c.JI==a.origin)return c}};Eu.Mia=function(a){for(var b in Eu.zB){var c=Eu.HH(b);if(c&&c.JI==a)return c}};Eu=Eu||{}; var kv=function(){var a=[],b;for(b in _.jv)a.push(_.jv[b]);Du.call(this,a);this.Em={};su("EventBus is ready.")};vu(kv,Du);_.jv={Uca:"sessionSelectorChanged",sF:"sessionStateChanged",xt:"authResult",Z8:"displayIFrame"};mv=function(a,b){var c=lv;a&&b&&(c.Em[a]||(c.Em[a]=[]),uu(c.Em[a],b)<0&&c.Em[a].push(b))};nv=function(a){var b=lv;a&&(b.Em[a]||(b.Em[a]=[]))};ov=function(a,b,c){return b&&a.Em[b]&&uu(a.Em[b],c)>=0};_.g=kv.prototype; _.g.Fna=function(a){var b,c=!!a.source&&(a.source===_.Ku||a.source.opener===window);if(b=c?Eu.Mia(a.origin):Eu.jia(a)){try{var d=_.Cu.parse(a.data)}catch(e){su("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.ln){su("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.ek[c.id])delete b.ek[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?su("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.BX[a.type]?(d=this.BX[a.type], c&&!d.rfa?su("Bad IDP event. Source window cannot be a popup."):d.ot&&!d.ot.call(this,b,a)?su("Bad IDP event."):d.Of.call(this,b,a)):su("Bad IDP event.")}else su("Bad event, no corresponding Idp Stub.")};_.g.fpa=function(a,b){return ov(this,a.Gb,b.clientId)};_.g.epa=function(a,b){a=a.Gb;b=b.clientId;return!b||ov(this,a,b)};_.g.Dfa=function(a,b){return ov(this,a.Gb,b.clientId)}; _.g.Pma=function(a,b){a.Oo=!0;a.Yx=!!b.cookieDisabled;cv(a);for(b=0;b-1&&a.indexOf("chrome/")<0&&a.indexOf("crios/")<0&&a.indexOf("android")<0))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||b.length<3)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return a>12||a==12&&b>=1};Pv=function(a){return a.length>0&&a.every(function(b){return Mv.includes(b)})}; Qv=function(a,b,c,d,e,f,h){var k=_.Iu(a,"authServerUrl");if(!k)throw Error("X`"+a);a=_.xu(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=Ov())&&(b=navigator.userAgent.toLowerCase(),b.indexOf("ipad;")>-1||b.indexOf("iphone;")>-1?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||b.length<2?!1:parseInt(b[1],10)>=14):b=!1);b&&!a.prompt&&(a.prompt= "select_account");return k+(k.indexOf("?")<0?"?":"&")+Iv(a)};Rv=function(a,b,c,d){if(!a.Tb)throw Error("na");a.Ok=c||a.Efa||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Fd.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Ok;var k=f.indexOf(":");k>0&&(f=f.substring(0,k));f=["storagerelay://",f,"/",h,"?"];f.push("id="+e);c.redirect_uri=f.join("")}return Qv(a.Gb,a.de,a.Tb,a.Jn,!0,b,d)}; Sv=function(a,b,c){if(!a.Tb)throw Error("na");return Qv(a.Gb,a.de,a.Tb,a.Jn,!1,b,c)};Tv=function(a,b){a.vp&&window.clearTimeout(a.vp);a.vp=window.setTimeout(function(){a.Ok==b&&(_.Ku=void 0,a.vp=null,a.Ok=void 0,a.jp({authResult:{error:"popup_closed_by_user"}}))},1E3)}; Uv=function(a,b,c){if(!a.Tb)throw Error("oa");c=c||{};c=Rv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Nv())&&_.tv(a,a.B_,[]);var d=a.Ok;a.a1.open(c,b,function(){a.Ok==d&&Tv(a,d)},function(){a.Ok=void 0;a.jp({authResult:{error:"popup_blocked_by_browser"}})})}; Vv=function(a,b){var c=b||{};b=_.xu(a.Jn);if(c.sessionMeta&&c.sessionMeta.extraQueryParams)for(var d in c.sessionMeta.extraQueryParams)b[d]=c.sessionMeta.extraQueryParams[d];var e;c.sessionMeta.extraQueryParams.scope&&(e=c.sessionMeta.extraQueryParams.scope.split(" "));!e&&b.scope&&(e=b.scope.split(" "));delete b.redirect_uri;delete b.origin;delete b.client_id;delete b.scope;b.prompt=="select_account"&&delete b.prompt;b.gsiwebsdk="fedcm";b.ss_domain=a.de;d=_.Iu(a.Gb,"fedcmConfigUrl");c=c.responseType; b.response_type=c;b.scope=e.join(" ");!b.nonce&&c.includes("id_token")&&(b.nonce="notprovided");c=navigator.userActivation.isActive?"active":"passive";e=Pv(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Tb,fields:e,params:b}],mode:c},mediation:"required"}}; Wv=function(a,b,c){if(!a.Tb)throw Error("oa");b=Vv(a,b);navigator.credentials.get(b).then(function(d){d=JSON.parse(d.token);var e={client_id:d.client_id,login_hint:d.login_hint,expires_in:3600,scope:d.scope};d.code&&(e.code=d.code);d.id_token&&(e.id_token=d.id_token);a.jp({type:_.jv.xt,idpId:a.Gb,authResult:e})},function(d){d.message.indexOf("identity-credentials-get")>=0||d.message.indexOf("Content Security Policy")>=0?c():a.jp({type:_.jv.xt,idpId:a.Gb,authResult:{error:d}})})}; Xv=function(a,b,c){a.ht&&_.Gu()?Wv(a,c,function(){return Uv(a,b,c)}):Uv(a,b,c)};Yv=function(a,b){b=b||{};var c=Sv(a,b.sessionMeta,b.responseType);a.ht&&_.Gu()&&a.S6?(a.YC=b.sessionMeta.extraQueryParams.redirect_uri,Wv(a,b,function(){return Jv(c,!0)})):Jv(c,!0)};Zv=function(a,b,c){a.Hk?c(a.wo()):_.tv(a,a.yZ,[b,c])};_.$v=function(a){_.Be(_.Oe,"le",[]).push(a)}; _.aw=function(a){for(var b=[],c=0,d=0;c191&&e<224){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(e>239&&e<365){f=a[c++];var h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")}; bw=function(a){var b=[];_.Kh(a,function(c){b.push(c)});return b};_.cw=function(a,b){_.pi[b||"token"]=a};_.dw=function(a){delete _.pi[a||"token"]};fw=function(){if(typeof MessageChannel!=="undefined"){var a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;var d=b.cb;b.cb=null;d()}};return function(d){c.next={cb:d};c=c.next;a.port2.postMessage(0)}}return function(d){_.Xa.setTimeout(d,0)}};_.Cu={parse:function(a){a=_.Pf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Qf(a)}};_.Dv.prototype.hH=function(a,b){_.tv(this,this.tha,[a,b])};_.Dv.prototype.tha=function(a,b){this.Rd.hH(this.Tb,a,this.Kj,this.Se,b)};_.bv.prototype.hH=function(a,b,c,d,e){c=_.xu(c);_.ev(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var gw,hw=["client_id","cookie_policy","scope"],iw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent enable_granular_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date use_fedcm gsiwebsdk".split(" "),jw=["authuser","after_redirect","access_type","hl"],kw=["login_hint","prompt"],lw={clientid:"client_id",cookiepolicy:"cookie_policy"}, mw=["approval_prompt","authuser","login_hint","prompt","hd"],nw=["login_hint","g-oauth-window","status"],ow=Math.min(_.Ye("oauth-flow/authWindowWidth",599),screen.width-20),pw=Math.min(_.Ye("oauth-flow/authWindowHeight",600),screen.height-30);var qw=function(a){_.ib.call(this,a)};_.u(qw,_.ib);qw.prototype.name="gapi.auth2.ExternallyVisibleError";var rw=function(){};rw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var sw=function(){};sw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c=0||a.match(lx))&&this.As.push("permission"),a.indexOf("id_token")>=0&&this.As.push("id_token"),a.indexOf("code")>=0&&this.As.push("code")):this.As=kx};var gx=function(a){return jx(a,"code")},hx=function(a){return jx(a,"permission")};fx.prototype.toString=function(){return this.As.join(" ")}; var jx=function(a,b){var c=!1;_.Ab(a.As,function(d){d==b&&(c=!0)});return c};var nx=function(a,b,c){this.kK=b;this.Dma=a;for(var d in a)a.hasOwnProperty(d)&&mx(this,d);if(c&&c.length)for(a=0;a");var h=_.bf.createElement(d.join(""));h&&(!c||h.tagName==c.tagName&&h.namespaceURI==c.namespaceURI)&&(c=h)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.bf.AV=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&& b.length==1)return b[0]}catch(c){}return document.documentElement||document};_.bf.mAa=function(b){return a(b)}})(); _.Fg=window.gapi&&window.gapi.util||{}; _.Fg=_.Fg={};_.Fg.getOrigin=function(a){return _.Hg(a)}; _.by=function(a){if(a.indexOf("GCSC")!==0)return null;var b={zj:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(d==-1)return b;var e=_.$x(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.mf;return!d&&(c!=="U"||e.mf)||d&&!_.ay?b:{zj:!0,mf:d,lga:a.substr(1),domain:e.domain,Zi:e.Zi}};_.cy=function(a,b){this.ih=a;a=b||{};this.ima=Number(a.maxAge)||0;this.de=a.domain;this.Wm=a.path;this.Ooa=!!a.secure};_.cy.prototype.read=function(){for(var a=this.ih+"=",b=document.cookie.split(/;\s*/),c=0;c=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Ooa&&(a+=";secure");document.cookie=a;return!0};_.cy.prototype.clear=function(){this.write("",0)};var ey=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,dy=/^[A-Z_][A-Z0-9_]{0,63}$/; _.cy.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c>>31)&4294967295;r=e[0];var x=e[1],v=e[2],z=e[3],B=e[4];for(w=0;w<80;w++){if(w<40)if(w<20){var C=z^x&(v^z);var D=1518500249}else C=x^v^z,D=1859775393;else w<60?(C=x&v|z&(x|v),D=2400959708):(C=x^v^z,D=3395469782);C=((r<<5|r>>>27)&4294967295)+ C+B+D+t[w]&4294967295;B=z;z=v;v=(x<<30|x>>>2)&4294967295;x=r;r=C}e[0]=e[0]+r&4294967295;e[1]=e[1]+x&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+B&4294967295}function c(r,t){if(typeof r==="string"){r=unescape(encodeURIComponent(r));for(var w=[],x=0,v=r.length;x=56;w--)f[w]=t&255,t>>>=8;b(f);for(w=t=0;w<5;w++)for(var x=24;x>=0;x-=8)r[t++]=e[w]>>x&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Xi:function(){for(var r=d(),t="",w=0;w=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; _.g.expand=function(a,b,c,d){_.tb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; _.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; _.g.translate=function(a,b){a instanceof _.Kr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Ur,Sr,Yr,$r;_.Tr=function(a,b,c){if(typeof b==="string")(b=Sr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Sr(c,d);f&&(c.style[f]=e)}};Ur={};Sr=function(a,b){var c=Ur[b];if(!c){var d=Pr(b);c=d;a.style[d]===void 0&&(d=(_.Fd?"Webkit":_.Ed?"Moz":null)+Qr(d),a.style[d]!==void 0&&(c=d));Ur[b]=c}return c};_.Vr=function(a,b){var c=a.style[Pr(b)];return typeof c!=="undefined"?c:a.style[Sr(a,b)]||""}; _.Wr=function(a,b){var c=_.Zd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Xr=function(a,b){return _.Wr(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Yr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.as=function(a,b){b=b||_.Lr(document);var c=b||_.Lr(document);var d=_.Zr(a),e=_.Zr(c),f=_.Wr(c,"borderLeftWidth");var h=_.Wr(c,"borderRightWidth");var k=_.Wr(c,"borderTopWidth"),l=_.Wr(c,"borderBottomWidth");h=new _.Ir(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Lr(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop):(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=$r(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d- e,0));c=new _.Kr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Zr=function(a){var b=_.Zd(a),c=new _.Kr(0,0);if(a==(b?_.Zd(b):document).documentElement)return c;a=Yr(a);b=_.Or(_.$d(b));c.x=a.left+b.x;c.y=a.top+b.y;return c};_.cs=function(a,b){var c=new _.Kr(0,0),d=_.ie(_.Zd(a));a:{try{_.Yb(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Zr(a):_.bs(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c}; _.bs=function(a){a=Yr(a);return new _.Kr(a.left,a.top)};_.es=function(a,b,c){if(b instanceof _.vd)c=b.height,b=b.width;else if(c==void 0)throw Error("J");a.style.width=_.ds(b,!0);a.style.height=_.ds(c,!0)};_.ds=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}; _.fs=function(a){var b=$r;if(_.Xr(a,"display")!="none")return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};$r=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Fd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Yr(a),new _.vd(a.right-a.left,a.bottom-a.top)):new _.vd(b,c)};_.gs=function(a,b){a.style.display=b?"":"none"}; _.is=function(a){var b=_.$d(void 0),c=_.Nr(b,"HEAD")[0];if(!c){var d=_.Nr(b,"BODY")[0];c=b.Ba("HEAD");d.parentNode.insertBefore(c,d)}d=b.Ba("STYLE");var e;(e=_.Kc("style",document))&&d.setAttribute("nonce",e);_.hs(d,a);b.appendChild(c,d)};_.hs=function(a,b){b=_.Hr(b);_.Xa.trustedTypes?_.ve(a,b):a.innerHTML=b};_.js=_.Ed?"MozUserSelect":_.Fd||_.Cd?"WebkitUserSelect":null; _.sy=function(a){_.Vi.call(this);this.Rf=1;this.SC=[];this.XC=0;this.Vf=[];this.Tj={};this.zfa=!!a};_.cb(_.sy,_.Vi);_.g=_.sy.prototype;_.g.subscribe=function(a,b,c){var d=this.Tj[a];d||(d=this.Tj[a]=[]);var e=this.Rf;this.Vf[e]=a;this.Vf[e+1]=b;this.Vf[e+2]=c;this.Rf=e+3;d.push(e);return e};_.g.Ox=_.gb(18);_.g.unsubscribe=function(a,b,c){if(a=this.Tj[a]){var d=this.Vf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Al(a)}return!1}; _.g.Al=function(a){var b=this.Vf[a];if(b){var c=this.Tj[b];this.XC!=0?(this.SC.push(a),this.Vf[a+1]=function(){}):(c&&_.Yi(c,a),delete this.Vf[a],delete this.Vf[a+1],delete this.Vf[a+2])}return!!b}; _.g.Ap=function(a,b){var c=this.Tj[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.XC==0)for(;c=this.SC.pop();)this.Al(c)}}return f!=0}return!1};var ty=function(a,b,c){_.kk(function(){a.apply(b,c)})}; _.sy.prototype.clear=function(a){if(a){var b=this.Tj[a];b&&(b.forEach(this.Al,this),delete this.Tj[a])}else this.Vf.length=0,this.Tj={}};_.sy.prototype.jc=function(a){if(a){var b=this.Tj[a];return b?b.length:0}a=0;for(b in this.Tj)a+=this.jc(b);return a};_.sy.prototype.Aa=function(){_.sy.O.Aa.call(this);this.clear();this.SC.length=0}; _.uy=function(a){this.Bqa=a};_.vy=function(a){_.Vi.call(this);this.we=new _.sy(a);_.Xi(this,this.we)};_.uy.prototype.toString=function(){return this.Bqa};_.cb(_.vy,_.Vi);_.g=_.vy.prototype;_.g.subscribe=function(a,b,c){return this.we.subscribe(a.toString(),b,c)};_.g.Ox=_.gb(17);_.g.unsubscribe=function(a,b,c){return this.we.unsubscribe(a.toString(),b,c)};_.g.Al=function(a){return this.we.Al(a)};_.g.Ap=function(a,b){return this.we.Ap(a.toString(),b)};_.g.clear=function(a){this.we.clear(a!==void 0?a.toString():void 0)};_.g.jc=function(a){return this.we.jc(a!==void 0?a.toString():void 0)}; var wy,xy,Ay,Dy,yy,By,Cy,zy;wy=function(a){var b=_.yc("");return _.fc(a.map(function(c){return _.hc(_.yc(c))}).join(_.hc(b).toString()))};xy=function(a){return wy(a)};Ay=function(a){for(var b="",c=Object.keys(a),d=0;d":(a=xy(b.map(function(d){return d instanceof _.ec?d:_.yc(String(d))})),c+=">"+a.toString()+"");return _.fc(c)};yy=/^[a-z][a-z\d-]*$/i;By="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");Cy="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "); zy=["action","formaction","href"];_.Ey=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.property+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Tr(a,"transition",b.join(","))};_.Fy=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.me("DIV"),b=_.Fd?"-webkit":_.Ed?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Lc(a,Dy({style:c}));return _.Vr(a.firstChild,"transition")!=""}); _.Gy=function(a,b){_.Fj.call(this);this.Lm=a||1;this.hy=b||_.Xa;this.QQ=(0,_.yb)(this.yqa,this);this.mZ=_.od()};_.cb(_.Gy,_.Fj);_.g=_.Gy.prototype;_.g.enabled=!1;_.g.Ic=null;_.g.setInterval=function(a){this.Lm=a;this.Ic&&this.enabled?(this.stop(),this.start()):this.Ic&&this.stop()}; _.g.yqa=function(){if(this.enabled){var a=_.od()-this.mZ;a>0&&a2147483647?-1:_.Xa.setTimeout(a,b||0)};_.Iy=function(a){_.Xa.clearTimeout(a)}; _.Ky=function(){_.Jy="oauth2relay"+String(2147483647*(0,_.Ng)()|0)};_.Ly=new _.vy;_.My=new _.uy("oauth");_.Ky();_.Ye("oauth-flow/client_id");var Ny=String(_.Ye("oauth-flow/redirectUri"));if(Ny)Ny.replace(/[#][\s\S]*/,"");else{var Oy=_.Fg.getOrigin(window.location.href);_.Ye("oauth-flow/callbackUrl");encodeURIComponent(Oy)}_.Fg.getOrigin(window.location.href); var Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,bz,cz,dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Hz,Gz,Iz,Jz,Kz,Lz,Mz,Nz,Oz;_.Py=function(a,b){if(_.Hh&&!b)return _.Xa.atob(a);var c="";_.Kh(a,function(d){c+=String.fromCharCode(d)});return c};Qy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Ry=function(a){return _.ai("enableMultilogin")&&a("cookie_policy")&&!Qy(a)?!0:!1}; Uy=function(){var a,b=null;_.ky.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.$x(c),!a||c.mf&&!a.mf||c.mf==a.mf&&c.Zi>a.Zi)&&(a=c,b=d)});return{Lfa:a,authuser:b}};Vy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Wy=function(a){a=a.toUpperCase();for(var b=Vy.length,c=0;c40&&(b=new _.Mg,b.vy(a),a=b.Xi().toUpperCase());return a}; Xy=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Yy=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],gpa:Xy(a[1]),bBa:Xy(a[2]),Tza:Xy(a[3])}};Zy=function(a){var b=Uy(),c=b.Lfa;b=b.authuser;var d=a&&Wy(a);if(b!==null){var e;_.ky.iterate(function(h,k){(h=_.by(h))&&h.zj&&(d&&h.lga!=d||h.mf==c.mf&&h.Zi==c.Zi&&(e=k))});if(e){var f=Yy(e);a=f&&f.gpa[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,aCa:a,clientId:f}}}return null}; $y=function(a,b){a=_.qi(a);if(!a||!b&&a.error)return null;b=Math.floor((new Date).getTime()/1E3);return a.expires_at&&b>a.expires_at?null:a};_.az=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.cw(c,d):_.dw(d)}; bz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Hg(a));var b=window.location.hostname,c=b,d=_.ay;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Uf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(c.indexOf(":")!==-1)c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Uf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,mf:d,Zi:b}}; cz=function(a){var b=bz(a);if(!b)return new _.fy("G_USERSTATE_");a=["G_USERSTATE_",_.ay&&b.mf?"S":"H",b.Zi].join("");var c=_.oy[a];c||(c={OJ:63072E3},_.Ge(_.ry(b),c),c=new _.cy(a,c),_.oy[a]=c,b=c.read(),typeof b!=="undefined"&&b!==null&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};dz=function(a){var b=cz(a).read();a=_.Ce();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; ez=function(a,b,c){var d=dz(b),e=d[a];d[a]="0";var f=[];_.Dm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=cz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};fz=function(a,b){b=dz(b);return b[a]=="0"||b[a]=="X"};gz=function(a){a=bz(a.g_user_cookie_policy);if(!a||a.mf&&!_.ay)a=null;else{var b=["G_AUTHUSER_",_.ay&&a.mf?"S":"H",a.Zi].join(""),c=_.ny[b];c||(c=new _.ky(b,_.ry(a)),_.ny[b]=c);a=c}_.Ze("googleapis.config/sessionIndex",null);a.clear()};hz=function(a){return Qy(function(b){return a[b]})}; iz=0;jz=!1;kz=[];lz={};mz={};nz=null;oz=function(a){var b=_.Jy;return function(c){if(this.f==b&&this.t==_.Zf.jo(this.f)&&this.origin==_.Zf.Co(this.f))return a.apply(this,arguments)}};pz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ya");};qz=function(a){var b=_.bf.Ug,c=b(a).jsh;if(c!=null)return pz(c),a;if(b=String(b().jsh||_.Oe.h||""))pz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a}; rz=function(){return!!_.Ye("oauth-flow/usegapi")};sz=function(a,b){rz()?nz.unregister(a):_.Zf.unregister(a+":"+b)};tz=function(a,b,c){rz()?nz.register(a,c,_.Rm):_.Zf.register(a+":"+b,oz(c))};uz=function(){Sy.parentNode.removeChild(Sy)}; vz=function(a){var b=Sy;_.Ey(b,[{property:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Ey(b,[{property:"transform",duration:1,timing:"ease",delay:0}]);_.Hy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};wz=function(){var a=Ty+88;vz(a);Ty=a};xz=function(){var a=Ty-88;vz(a);Ty=a}; yz=function(a){var b=a?wz:xz,c=a?xz:wz;a=a?"-":"";Ty=parseInt(a+88,10);Sy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Sy.style.transform="translate3d(0px,"+a+88+"px,0px)";Sy.style.display="";Sy.style.visibility="visible";b();_.Hy(c,4E3);_.Hy(uz,5E3)}; zz=function(a){var b=_.Ye("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Sy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Tr(c,"visibility","hidden");_.Tr(c,b,"-40px");_.Tr(c,"height","128px");var d=c;if(_.or()){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);d=e}e= b=="top"?"-":"";Ty=parseInt(e+88,10);Sy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Sy.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.Om.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?yz(!0):yz(!1)}})}; Az=function(a){var b=_.to(),c=b&&b.scope;b=a&&a.scope;b=typeof b==="string"?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d0&&(a.scope=b.join(" "))}return a}; Bz=function(a,b){var c=null;a&&b&&(c=b.client_id=b.client_id||a.client_id,b.scope=b.scope||a.scope,b.g_user_cookie_policy=a.cookie_policy,b.cookie_policy=b.cookie_policy||a.cookie_policy,b.response_type=b.response_type||a.response_type);if(b){b.issued_at||(b.issued_at=String(Math.floor((new Date).getTime()/1E3)));var d=parseInt(b.expires_in,10)||86400;b.error&&(d=_.Ye("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Math.floor((new Date).getTime()/1E3)+d)); b._aa||b.error||Zy(c)!=null||!hz(a)||(b._aa="1");a=b.status={};a.google_logged_in=!!b.session_state;c=a.signed_in=!!b.access_token;a.method=c?b["g-oauth-window"]?"PROMPT":"AUTO":null}return b};Cz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Pf(_.Py(a,!0));if(a===!1)throw Error("za");return a};Dz=function(a){return(a=Cz(a))?a.sub:null}; Ez=function(a){a&&kz.push(a);a=_.Jy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(iz&&c-iz<6E4)return;var d=_.Zf.jo(a);d&&(sz("oauth2relayReady",d),sz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Ky();a=_.Jy}iz=c;var e=String(2147483647*(0,_.Ng)()|0);b=_.Ye("oauth-flow/proxyUrl")||_.Ye("oauth-flow/relayUrl");rz()?nz=_.Om.openChild({where:_.bf.AV(),url:b,id:a,attributes:{style:{width:"1px",height:"1px", position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.Fg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.bf.AV(),d=_.bf.hS({name:a,id:a}),d.src=qz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,d.setAttribute("aria-hidden","true"),c.appendChild(d),_.Zf.Ax(a));tz("oauth2relayReady",e,function(){sz("oauth2relayReady",e);var f=kz;if(f!==null){kz= null;for(var h=f.length,k=0;k=0&&_.Ye("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",jz||(jz=!0,zz(l)));_.az(k,h);h=$y(k);if(f){k= f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(h),f.callback=null)}}})};_.Fz=function(a){kz!==null?Ez(a):a&&a()};Hz=function(a,b){var c=Gz,d=Dz(a);d&&(gz(a),ez(d,b,function(){if(c){var e={error:"user_signed_out"};e.client_id=a.client_id;e.g_user_cookie_policy=a.g_user_cookie_policy;e.scope=a.scope;e.response_type=a.response_type;e.session_state=a.session_state;e=Bz(null,e);c(e)}}))}; Gz=function(a){a||(a=$y(void 0,!0));a&&typeof a==="object"||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.Oe.drw=null);_.az(a);if(b=a.authuser)_.Ye("googleapis.config/sessionIndex"),_.Ze("googleapis.config/sessionIndex",b);_.Ly.Ap(_.My,a);return a};Iz=["client_id","cookie_policy","response_type"];Jz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); Kz=function(a){var b=_.Uj(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.cw(b);return b}; Lz=function(a){if(a.include_granted_scopes===void 0){var b=_.Ye("include_granted_scopes");a.include_granted_scopes=!!b}};Mz=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))}; Nz=function(a){var b=a||{},c={};_.Ab(Jz,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Ye("googleapis/overrideClientId");a!=null&&(c.client_id=a);Lz(c);typeof b.scope==="string"?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));b["openid.realm"]!=null&&(c.openid_realm=b["openid.realm"]);b.cookie_policy!=null?c.cookie_policy=b.cookie_policy:b.cookiepolicy!=null&&(c.cookie_policy=b.cookiepolicy);c.login_hint==null&&b.user_id!=null&&(c.login_hint=b.user_id);try{_.Ww(c.cookie_policy)}catch(d){c.cookie_policy&& Mz("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}b.hd!=null&&(c.hosted_domain=b.hd);c.prompt==null&&(b.immediate==1||b.immediate=="true"?c.prompt="none":b.approval_prompt=="force"&&(c.prompt="consent"));c.prompt=="none"&&(c.session_selection="first_valid");c.prompt=="none"&&c.access_type=="offline"&&delete c.access_type;typeof c.authuser==="undefined"&&(a=_.ei(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Ye("oauth-flow/redirectUri"); a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; Oz=function(a,b){var c=Nz(a),d=new _.mk(function(e,f){_.Cx(c,function(h){var k=h||{};_.Ab(Iz,function(l){k[l]==null&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&a.state!=null&&(k.state=a.state);k.error?(c.prompt=="none"&&k.error=="user_logged_out"&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=Kz(k),h.authuser!=null&&_.Ze("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};var Pz,Rz;Pz=null;_.Sz=function(a,b){if(a.approvalprompt!=="force"){a=_.Qz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Pz?(a.client_id!==Pz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Pz=a,b=!1);b||Rz(a)}}; _.Qz=function(a){var b=a.redirecturi||"postmessage",c=_.Fc((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c=a.accesstype=="offline"?!0:(c=a.redirecturi)&&c!="postmessage";c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=_.Fc(a.requestvisibleactions.replace(/[\s\xa0]+/g, " ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&a.cookiepolicy!=="none"&&(b.cookie_policy=a.cookiepolicy);typeof a.includegrantedscopes!="undefined"&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Ye("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ye("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};Rz=function(a){_.cp("waaf0","signin","0");Oz(a,function(b){_.cp("waaf1","signin","0");Gz(b)})}; _.Tz=function(a){a=_.Qz(a);_.Ze("oauth-flow/authWindowWidth",445);_.Ze("oauth-flow/authWindowHeight",615);Rz(a)};_.Uz=function(a){_.Ly.unsubscribe(_.My,a);_.Ly.subscribe(_.My,a)};var aA,dA;_.Wz=function(a){return a.cookiepolicy?!0:(_.Vz("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.Vz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.$z=function(a,b){var c=_.to();_.Ge(a,c);c=Az(c);if(_.Wz(c)){var d=_.Xz();_.Yz(c);b?_.Ne(b,"click",function(){_.Zz(c,d)}):_.Zz(c,d)}}; _.Xz=function(){var a=new aA;_.Uz(function(b){a.PJ&&b&&(b.access_token&&_.Ze("isPlusUser",!0),b["g-oauth-window"]&&(a.PJ=!1,_.Uf.warn("OTA app install is no longer supported.")))});return a};aA=function(){this.PJ=!1};_.Yz=function(a){a=_.bA(a);_.cA(a.callback);_.Fz(function(){_.Sz(a)})};_.bA=function(a){dA(a);a.redirecturi&&delete a.redirecturi;Ry(function(b){return a[b]})||(a.authuser=0);return a};dA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.cA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.Vz('Callback function named "'+a+'" not found');return}a&&_.Uz(a)};_.Zz=function(a,b){b.PJ=!0;a=_.bA(a);_.Tz(a)};_.q("gapi.auth.authorize",Oz);_.q("gapi.auth.checkSessionState",function(a,b){var c=_.Ce();c.client_id=a.client_id;c.session_state=a.session_state;_.Fz(function(){rz()?nz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Rm):_.Zf.call(_.Jy,"check_session_state",oz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.q("gapi.auth.getAuthHeaderValueForFirstParty",function(a,b){_.xi(_.wi(),51).yb();return _.oi(a,b)});_.q("gapi.auth.getToken",$y); _.q("gapi.auth.getVersionInfo",function(a,b){_.Fz(function(){var c=_.oi()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?rz()?nz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Rm):_.Zf.call(_.Jy,"get_versioninfo",oz(function(f){a(f)}),d,b):a()})});_.q("gapi.auth.init",_.Fz);_.q("gapi.auth.setToken",_.az);_.q("gapi.auth.signIn",function(a){_.$z(a)});_.q("gapi.auth.signOut",function(){var a=$y();a&&Hz(a,a.cookie_policy)}); _.q("gapi.auth.unsafeUnpackIdToken",Cz);_.q("gapi.auth._pimf",_.Sz);_.q("gapi.auth._oart",zz);_.q("gapi.auth._guss",function(a){return cz(a).read()}); var eA=_.to();eA.clientid&&eA.scope&&eA.callback&&!_.Ye("disableRealtimeCallback")&&_.Yz(eA); var Hx=function(){};var Jx;Jx=function(){};_.cb(Jx,Hx);Jx.prototype.Mz=function(){return new XMLHttpRequest};_.Ix=new Jx; _.Lh=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.Mh=function(a){return a==null?"":String(a)};_.Nh=function(a,b,c,d,e,f,h){var k="";a&&(k+=a+":");c&&(k+="//",b&&(k+=b+"@"),k+=c,d&&(k+=":"+d));e&&(k+=e);f&&(k+="?"+f);h&&(k+="#"+h);return k};_.Oh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"); _.Ph=function(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]};_.Qh=function(a,b,c){if(Array.isArray(b))for(var d=0;d0}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;typeof a.setAttribute==="function"?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";document.body.appendChild(a); c&&(a.src=b);return a};Ki={bX:_.Ji,yla:_.mi,ZV:function(){var a=null;_.mi()&&(a=window.__PVT,a==null&&(a=(new _.fi(document)).get("BEAT")));return a},Rha:_.oi};var Oi,Ni;Oi=function(){return!!Ni("auth/useFirstPartyAuthV2")};Ni=function(a){return _.Ye("googleapis.config/"+a)}; _.Pi=function(a,b,c){a=a===void 0?{}:a;b=b===void 0?window.location.href:b;c=c===void 0?"auto":c;if(c=="none")return a;var d=a.Authorization,e=a.OriginToken;if(!d&&!e){(e=_.qi())&&e.access_token&&(c=="oauth2"||c=="auto")&&(d=String(e.token_type||"Bearer")+" "+e.access_token);if(e=!d)e=(!!Ni("auth/useFirstPartyAuth")||c=="1p")&&c!="oauth2";if(e&&_.mi()){if(Oi()){d=Ni("primaryEmail");c=Ni("appDomain");e=Ni("fogId");var f=[];d&&f.push({key:"e",value:d});c&&f.push({key:"a",value:c});e&&f.push({key:"u", value:e});d=_.oi(f)}else d=_.oi();d&&(c=a["X-Goog-AuthUser"],b=_.ei(b),b=c||b,_.Dc(_.Mh(b))&&(!Oi()||Oi()&&_.Dc(_.Mh(Ni("primaryEmail")))&&_.Dc(_.Mh(Ni("appDomain")))&&_.Dc(_.Mh(Ni("fogId"))))&&(b="0"),_.Dc(_.Mh(b))||(a["X-Goog-AuthUser"]=b))}d?a.Authorization=d:Ni("auth/useOriginToken")!==!1&&(e=Ki.ZV())&&(a.OriginToken=e)}return a};_.Qi=function(){function a(n,r,t,w,x){var v=f("proxy");if(w||!v){v=f("root");var z=f("root-1p")||v;v=v||"https://content.googleapis.com";z=z||"https://clients6.google.com";var B=f("xd3")||"/static/proxy.html";v=(w||String(r?z:v))+B}v=String(v);t&&(v+=(v.indexOf("?")>=0?"&":"?")+"usegapi=1");(r=_.bf.Ug().jsh||_.Oe.h)&&(v+=(v.indexOf("?")>=0?"&":"?")+"jsh="+encodeURIComponent(r));v+="#parent="+encodeURIComponent(x!=null?String(x):_.Fg.getOrigin(document.location.href));return v+("&rpctoken="+n)}function b(n, r,t,w,x){var v=d(t,w,x);k[v]||(t=Mi(v,r),_.Zf.register("ready:"+n,function(){_.Zf.unregister("ready:"+n);if(!l[v]){l[v]=!0;var z=m[v];m[v]=[];for(var B=0,C=z.length;B=65&&e<=90&&(e+=32);f>=65&&f<=90&&(f+=32);if(e!=f)return!1}return!0}; _.ah=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=a.length,e=0;e=55296&&h<=56319&&e+1=56320&&l<=57343&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++e)}if(!(h>=0&&h<=1114109)||h>=55296&&h<=57343||h>=64976&&h<=65007||(h&65534)==65534)h=65533,f=String.fromCharCode(h);k=!(h>=32&&h<=126)||f==" "||c&&f==":"||f=="\\";!c||f!="/"&&f!="?"||(c=!1);f=="%"&&(e+2>=d?k=!0:(l=16*parseInt(a.charAt(e+ 1),16)+parseInt(a.charAt(e+2),16),l>=0&&l<=255?(h=l,f=h==0?"":"%"+(256+l).toString(16).toUpperCase().substr(1),e+=2):k=!0));k&&(f=encodeURIComponent(f),f.length<=1&&(h>=0&&h<=127?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=encodeURIComponent(String.fromCharCode(h)))));b.push(f)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");c=[];d=b.length;for(e=0;e0&&c.pop(),e+1==d&&c.push("")):c.push(f);a[0]=c.join("/");for(a=a.join("?");a&&a.charAt(0)=="/";)a=a.substr(1);return"/"+a};bh={"access-control-allow-origin":!0,"access-control-allow-credentials":!0,"access-control-expose-headers":!0,"access-control-max-age":!0,"access-control-allow-headers":!0,"access-control-allow-methods":!0,p3p:!0,"proxy-authenticate":!0,"set-cookie":!0,"set-cookie2":!0,status:!0,tsv:!0,"":!0}; ch={"accept-charset":!0,"accept-encoding":!0,"access-control-request-headers":!0,"access-control-request-method":!0,"client-ip":!0,clientip:!0,connection:!0,"content-length":!0,cookie:!0,cookie2:!0,date:!0,dnt:!0,expect:!0,forwarded:!0,"forwarded-for":!0,"front-end-https":!0,host:!0,"keep-alive":!0,"max-forwards":!0,method:!0,origin:!0,"raw-post-data":!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,url:!0,"user-agent":!0,version:!0,via:!0,"x-att-deviceid":!0,"x-chrome-connected":!0, "x-client-data":!0,"x-client-ip":!0,"x-do-not-track":!0,"x-forwarded-by":!0,"x-forwarded-for":!0,"x-forwarded-host":!0,"x-forwarded-proto":!0,"x-geo":!0,"x-googapps-allowed-domains":!0,"x-origin":!0,"x-proxyuser-ip":!0,"x-real-ip":!0,"x-referer":!0,"x-uidh":!0,"x-user-ip":!0,"x-wap-profile":!0,"":!0}; dh=function(a){if(!_.nd(a))return null;for(var b={},c=0;c0&&(this.Tc=setTimeout(this.Li.bind(this),this.it)),this.CB=!0,this.hb.send(a),this.CB=!1}catch(h){this.iA(5,h)}}; _.g.Li=function(){typeof _.Ua!="undefined"&&this.hb&&(this.Or=8,this.dispatchEvent("timeout"),this.abort(8))};_.g.iA=function(a){this.dg=!1;this.hb&&(this.Ro=!0,this.hb.abort(),this.Ro=!1);this.Or=a;Ux(this);Vx(this)};var Ux=function(a){a.SG||(a.SG=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};_.Px.prototype.abort=function(a){this.hb&&this.dg&&(this.dg=!1,this.Ro=!0,this.hb.abort(),this.Ro=!1,this.Or=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Vx(this))}; _.Px.prototype.Aa=function(){this.hb&&(this.dg&&(this.dg=!1,this.Ro=!0,this.hb.abort(),this.Ro=!1),Vx(this,!0));_.Px.O.Aa.call(this)};_.Px.prototype.Y_=function(){this.isDisposed()||(this.RI||this.CB||this.Ro?Wx(this):this.uK())};_.Px.prototype.uK=function(){Wx(this)}; var Wx=function(a){if(a.dg&&typeof _.Ua!="undefined")if(a.CB&&_.Xx(a)==4)setTimeout(a.Y_.bind(a),0);else if(a.dispatchEvent("readystatechange"),_.Xx(a)==4){a.dg=!1;try{a.Mr()?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.Or=6,a.getStatus(),Ux(a))}finally{Vx(a)}}},Vx=function(a,b){if(a.hb){a.Tc&&(clearTimeout(a.Tc),a.Tc=null);var c=a.hb;a.hb=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};_.Px.prototype.isActive=function(){return!!this.hb}; _.Px.prototype.Mr=function(){var a=this.getStatus(),b;if(!(b=_.Ox(a))){if(a=a===0)a=String(this.fC).match(_.Oh)[1]||null,!a&&_.Xa.self&&_.Xa.self.location&&(a=_.Xa.self.location.protocol.slice(0,-1)),a=!Qx.test(a?a.toLowerCase():"");b=a}return b};_.Xx=function(a){return a.hb?a.hb.readyState:0};_.Px.prototype.getStatus=function(){try{return _.Xx(this)>2?this.hb.status:-1}catch(a){return-1}};_.Yx=function(a){try{return a.hb?a.hb.responseText:""}catch(b){return""}}; _.Zx=function(a){try{if(!a.hb)return null;if("response"in a.hb)return a.hb.response;switch(a.hn){case "":case "text":return a.hb.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.hb)return a.hb.mozResponseArrayBuffer}return null}catch(b){return null}};_.Px.prototype.getResponseHeader=function(a){if(this.hb&&_.Xx(this)==4)return a=this.hb.getResponseHeader(a),a===null?void 0:a}; _.Px.prototype.getAllResponseHeaders=function(){return this.hb&&_.Xx(this)>=2?this.hb.getAllResponseHeaders()||"":""};_.dj(function(a){_.Px.prototype.uK=a(_.Px.prototype.uK)}); var St,Xt;_.Ot=function(a,b){var c=_.nd(b),d=c?b:arguments;for(c=c?0:1;c=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}}; _.Tt=function(a,b,c){for(var d=0,e=b.length;(d=a.indexOf(b,d))>=0&&d 1||f.length==1&&f[0]!="")&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.yr();c?_.cu(b,a.Td.clone()):c=!!a.mH;c&&b.fl(a.IA());return b};_.Yt.prototype.clone=function(){return new _.Yt(this)};_.Zt=function(a,b,c){a.Gi=c?ju(b,!0):b;a.Gi&&(a.Gi=a.Gi.replace(/:$/,""));return a};_.$t=function(a,b,c){a.Bh=c?ju(b):b;return a};_.Yt.prototype.Qg=function(){return this.de};_.au=function(a,b,c){a.de=c?ju(b,!0):b;return a}; _.bu=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("L`"+b);a.Dg=b}else a.Dg=null;return a};_.Yt.prototype.getPath=function(){return this.Wm};_.Yt.prototype.setPath=function(a,b){this.Wm=b?ju(a,!0):a;return this};_.Yt.prototype.yr=function(){return this.Td.toString()!==""};_.cu=function(a,b,c){b instanceof _.du?(a.Td=b,a.Td.BM(a.Wg)):(c||(b=eu(b,ku)),a.Td=new _.du(b,a.Wg));return a};_.Yt.prototype.nb=function(a,b){return _.cu(this,a,b)};_.Yt.prototype.getQuery=function(){return this.Td.toString()}; _.lu=function(a,b,c){a.Td.set(b,c);return a};_.g=_.Yt.prototype;_.g.Sg=function(a){return this.Td.get(a)};_.g.IA=function(){return this.mH};_.g.fl=function(a,b){this.mH=b?ju(a):a;return this};_.g.removeParameter=function(a){this.Td.remove(a);return this};_.g.BM=function(a){this.Wg=a;this.Td&&this.Td.BM(a)};_.mu=function(a,b){return a instanceof _.Yt?a.clone():new _.Yt(a,b)};ju=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; eu=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,nu),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};nu=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};fu=/[#\/\?@]/g;hu=/[#\?:]/g;gu=/[#\?]/g;ku=/[#\?@]/g;iu=/#/g;_.du=function(a,b){this.He=this.Nc=null;this.mg=a||null;this.Wg=!!b};ou=function(a){a.Nc||(a.Nc=new Map,a.He=0,a.mg&&St(a.mg,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.g=_.du.prototype; _.g.jc=function(){ou(this);return this.He};_.g.add=function(a,b){ou(this);this.mg=null;a=pu(this,a);var c=this.Nc.get(a);c||this.Nc.set(a,c=[]);c.push(b);this.He+=1;return this};_.g.remove=function(a){ou(this);a=pu(this,a);return this.Nc.has(a)?(this.mg=null,this.He-=this.Nc.get(a).length,this.Nc.delete(a)):!1};_.g.clear=function(){this.Nc=this.mg=null;this.He=0};_.g.isEmpty=function(){ou(this);return this.He==0};_.g.Ol=function(a){ou(this);a=pu(this,a);return this.Nc.has(a)}; _.g.forEach=function(a,b){ou(this);this.Nc.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.g.qg=function(){ou(this);for(var a=Array.from(this.Nc.values()),b=Array.from(this.Nc.keys()),c=[],d=0;d0?String(a[0]):b};_.g.setValues=function(a,b){this.remove(a);b.length>0&&(this.mg=null,this.Nc.set(pu(this,a),_.Zb(b)),this.He+=b.length)}; _.g.toString=function(){if(this.mg)return this.mg;if(!this.Nc)return"";for(var a=[],b=Array.from(this.Nc.keys()),c=0;c2?a.hb.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}};uA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i;vA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i;wA=/;\s*charset\s*=/i;xA=/(([\r\n]{0,2}[A-Za-z0-9+\/]){4,4}){0,1024}([\r\n]{0,2}[A-Za-z0-9+\/][\r\n]{0,2}[AQgw]([\r\n]{0,2}=){2,2}|([\r\n]{0,2}[A-Za-z0-9+\/]){2,2}[\r\n]{0,2}[AEIMQUYcgkosw048][\r\n]{0,2}=|([\r\n]{0,2}[A-Za-z0-9+\/]){4,4})[\r\n]{0,2}/g; yA=function(a){var b=[];a=a.replace(xA,function(c){b.push(_.Py(c));return""});if(a.length)throw Error("va");return b.join("")};zA=function(a){var b=a.headers;if(b&&_.mh(b,"X-Goog-Safety-Encoding")==="base64"){var c=yA(a.body),d=_.mh(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match(uA)||d.match(vA)&&!d.match(wA))c=_.Eh(c),c=_.aw(c);_.nh(b,"X-Goog-Safety-Encoding");_.nh(b,"X-Goog-Safety-Content-Type");a.body=c}}; AA=function(a,b,c){c||((c=_.Ye("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,"")||"/"),c=String(c||""));c||(c=_.Ye("googleapis.config/root"),b&&(c=_.Ye("googleapis.config/root-1p")||c),c=String(c||""));c=String(pA(b,c)||c);return a=_.Nx(c,a)}; BA=function(a,b){var c=a.params||_.Ce();c.url=c.path;var d=c.root;d=AA("/",_.Ji(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Qi.tn("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?zA(e.gapiRequest.data):zA(e),b(e,_.Qf(e))):b(e,f)})}; CA=function(a){var b=_.Ot(a,"params","headers");b&&typeof b==="object"||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.mh(b,c);d&&(_.kh(c,d),_.nh(a,c,d))}c=(window.location.href.match(_.Oh)[1]||null)=="chrome-extension";a=_.Ji(a);return!(c&&a)&&oA()}; DA=function(a){return new _.mk(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:e.status!=204&&_.Pf(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};nA(e)?b(e):c(e)};try{BA(a,d)}catch(e){c(e)}})};EA=function(a){var b=!_.Ye("client/cors")||!!_.Ye("client/xd4"),c={};_.Dm(a,function(d,e){(d=_.kh(e,d))||b||(d=_.jh(e));d&&(e=_.mh(a,d))&&_.nh(c,d,e)});return c}; FA=function(a){var b=a.params||_.Ce();a=_.Uj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!(c==="POST"||_.Tt(d,"$unique",d.search(_.Ut))>=0||_.Tt(d,e,d.search(_.Ut))>=0)){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase());f.sort();f.push(_.Hg(location.href));var h=f.join(":");f=_.ii();f.update(h);h=f.Xi().toLowerCase().substr(0,7);h=String(parseInt(h,16)%1E3+1E3).substr(1);d=_.Mx(d,e,"gc"+h)}e=b.body||null;h=b.responseType|| null;b=_.Ji(a)||b.authType=="1p";f=!!_.Ye("googleapis.config/auth/useUberProxyAuth")||!!_.Ye("client/withCredentials");_.nh(a,"X-Referer");a=EA(a);var k=new sA(d,c,e,a);k.Ch=b||f;h&&(k.hn=h);return new _.mk(function(l,m){k.then(function(n){zA(n);l(n)},function(n){m(n)})})};GA=function(a,b){var c=function(d){d=_.Uj(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Qf(d))};FA(a).then(c,c)}; HA=function(a,b){(_.Ye("client/cors")||_.Ye("client/xd4"))&&CA(a)?(_.xi(_.wi(),12).yb(),GA(a,b)):(_.xi(_.wi(),11).yb(),BA(a,b))};_.IA={};var JA=function(a){this.Yw=a;this.dg=!1;this.promise={then:(0,_.yb)(function(b,c,d){this.dg||(this.dg=!0);this.Xw&&!this.Vw?this.Yw.resolve(this.Xw):this.Vw&&!this.Xw&&this.Yw.reject(this.Vw);return this.Yw.promise.then(b,c,d)},this)}};JA.prototype.resolve=function(a){this.dg?this.Yw.resolve(a):this.Xw||this.Vw||(this.Xw=a)};JA.prototype.reject=function(a){this.dg?this.Yw.reject(a):this.Xw||this.Vw||(this.Vw=a)};var KA=function(a){a=_.Pt(a.error);return{code:a.code,data:a.errors,message:a.message}},LA=function(a){throw Error("Aa`"+a);};var MA=function(a){gA.call(this,MA.prototype.zp);if(!a||typeof a!="object"&&typeof a!="string")throw new fA("Missing required parameters");if(typeof a==="string"){var b={};b.path=a}else b=a;if(!b.path)throw new fA('Missing required parameter: "path"');this.nh={};this.nh.path=b.path;this.nh.method=b.method||"GET";this.nh.params=b.params||{};this.nh.headers=b.headers||{};this.nh.body=b.body;this.nh.root=b.root;this.nh.responseType=b.responseType;this.nh.apiId=b.apiId;this.Ln=b.authType||"auto";this.Hla= !!b.isXd4;this.xY=!1;this.Lj(this.Ln);this.q2=!1};_.u(MA,gA);MA.prototype.Lf=function(){return this.nh};MA.prototype.Lj=function(a){this.Ln=a;this.xY=this.Ln==="1p"};MA.prototype.Yq=function(){return this.xY}; MA.prototype.Gj=function(){if(!this.q2){this.q2=!0;var a=this.nh,b=a.headers=a.headers||{},c=[],d=[];for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){c.push(h);var e=h,f=_.mh(b,e);f&&(e=_.kh(e,f)||_.jh(e))&&d.push([e,f])}var h=0;for(e=c.length;h=18&&h.substring(h.length-18)=="/static/proxy.html"&&(h=h.substring(0,h.length-18));h||(h="/");e=_.ah(h);if(h!=e)throw Error("x");h.charAt(h.length-1)!="/"&&(h+="/");c=_.Nx(h,c);_.Dj(c,"/")&&(c=c.substring(0,c.length-1));h=_.Ce();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),h[e]=b[k]);c=_.Sh(c,h);a.path=c;a.root=pA(!!d,a.root);a.url=AA(a.path,!!d,a.root)}}; var PA=function(a){a.Gj();var b=a.nh;return{key:"gapiRequest",params:{id:b.id,key:b.key,url:b.url,path:b.path,httpMethod:b.method,body:b.body||"",headers:b.headers||{},urlParams:{},root:b.root,authType:a.Ln}}};_.g=MA.prototype;_.g.execute=function(a){var b=PA(this);HA(b,function(c,d){var e=c;c.gapiRequest&&(e=c.gapiRequest);e&&e.data&&(e=e.data);c=e;c=c instanceof Array?c[0]:c;if(c.status!=204&&c.body)try{var f=_.Pf(c.body)}catch(h){}a&&a(f,d)})}; _.g.zp=function(){var a=PA(this);(_.Ye("client/cors")||_.Ye("client/xd4"))&&CA(a)?(_.xi(_.wi(),15).yb(),a=FA(a)):(_.xi(_.wi(),14).yb(),a=DA(a));return a};_.g.lj=function(){return this.zp()};_.g.Je=function(){return this.nh.root};_.g.xw=function(){console.log("makeJsonRpc is not supported for this request.");return{}};_.g.getFormat=function(){return 0};var OA=["appVersion","platform","userAgent"],NA={"google-api-gwt-client":!0,"google-api-javascript-client":!0};MA.prototype.execute=MA.prototype.execute; MA.prototype.then=MA.prototype.then;MA.prototype.getPromise=MA.prototype.lj;var QA=function(a){if(!a||typeof a!="object")throw new fA("Missing rpc parameters");if(!a.method)throw new fA("Missing rpc method");this.rD=a};_.g=QA.prototype;_.g.Je=function(){var a=this.rD.transport;return a?a.root||null:null};_.g.execute=function(a){var b=kA();b.add(this,{id:"gapiRpc",callback:this.uw(a)});b.execute()}; _.g.xw=function(a){var b=this.rD.method,c=String,d;(d=this.rD.apiVersion)||(d=String(b).split(".")[0],d=_.Ye("googleapis.config/versions/"+b)||_.Ye("googleapis.config/versions/"+d)||"v1",d=String(d));a={jsonrpc:"2.0",id:a,method:b,apiVersion:c(d)};(b=this.rD.rpcParams)&&(a.params=b);return a}; _.g.uw=function(a){return function(b,c){if(b)if(b.error){var d=b.error;d.error==null&&(d.error=_.Uj(b.error))}else d=b.result||b.data,_.tb(d)&&d.result==null&&(d.result=_.Uj(b.result||b.data));else d=!1;a(d,c)}};_.g.then=function(){throw LA('The "then" method is not available on this object.');};_.g.bE=function(){};_.g.Lf=function(){};_.g.Gj=function(){};_.g.Lj=function(){};_.g.Yq=function(){};_.g.lj=function(){};QA.prototype.execute=QA.prototype.execute;var SA=function(a,b){this.hf=b||0;this.hf==2?(b=null,a!=null&&_.tb(a)&&(b={},b.method=a.method,b.rpcParams=a.rpcParams,b.transport=a.transport,b.root=a.root,b.apiVersion=a.apiVersion,b.authType=a.authType),this.Wb=new QA(b)):(this.hf==0&&(b=a&&a.callback)&&(a.callback=RA(b)),b=null,a!=null&&(_.tb(a)?(b={},b.path=a.path,b.method=a.method,b.params=a.params,b.headers=a.headers,b.body=a.body,b.root=a.root,b.responseType=a.responseType,b.authType=a.authType,b.apiId=a.apiId):typeof a==="string"&&(b=a)), this.Wb=new MA(b))},RA=function(a){return function(b){if(b!=null&&_.tb(b)&&b.error){var c=KA(b);b=_.Qf([{id:"gapiRpc",error:c}]);c.error=_.Pt(c)}else b==null&&(b={}),c=_.Pt(b),c.result=_.Pt(b),b=_.Qf([{id:"gapiRpc",result:b}]);a(c,b)}};_.g=SA.prototype;_.g.getFormat=function(){return this.hf};_.g.execute=function(a){this.Wb.execute(a&&this.hf==1?RA(a):a)};_.g.then=function(a,b,c){return this.Wb.then(a,b,c)};_.g.bE=function(a){this.Wb.bE(a)};_.g.Lf=function(){return this.Wb.Lf()};_.g.Gj=function(){this.Wb.Gj()}; _.g.Je=function(){return this.Wb.Je()};_.g.xw=function(a){if(this.Wb.xw)return this.Wb.xw(a)};_.g.Lj=function(a){this.Wb.Lj(a)};_.g.Yq=function(){return!!this.Wb.Yq()};_.g.lj=function(){return this.Wb.lj()};SA.prototype.execute=SA.prototype.execute;SA.prototype.then=SA.prototype.then;SA.prototype.getPromise=SA.prototype.lj;var TA=//,UA=/^application\/http(;.+$|$)/,VA=["clients6.google.com","content.googleapis.com","www.googleapis.com"],WA=function(a,b){a=_.mh(a,b);if(!a)throw new fA("Unable to retrieve header.");return a},XA=function(a){var b=void 0;a=_.Aa(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.Lf().apiId;if(typeof c!=="string")return"batch";if(b===void 0)b=c;else if(b!=c)return"batch"}b=_.Ye("client/batchPath/"+b)||"batch/"+b.split(":").join("/");return String(b)},YA=function(a){a=a.map(function(b){return b.request}); return XA(a)},ZA=function(a,b){var c=[];a=a.Lf();var d=function(f,h){_.Dm(f,function(k,l){h.push(l+": "+k)})},e={"Content-Type":"application/http","Content-Transfer-Encoding":"binary"};e["Content-ID"]="<"+b+">";d(e,c);c.push("");c.push(a.method+" "+a.path);d(a.headers,c);c.push("");a.body&&c.push(a.body);return c.join("\r\n")},bB=function(a,b){a=$A(a,b);var c={};_.$b(a,function(d,e){c[e]=aB(d,e)});return c},aB=function(a,b){return{result:a.result||a.body,rawResult:_.Qf({id:b,result:a.result||a.body}), id:b}},$A=function(a,b){a=_.Fc(a);_.Dj(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.Ce();for(var c=0;c");f=WA(d.outerHeaders,"Content-ID");f=TA.exec(f);if(!f)throw new fA("Unable to recognize Content-Id.");e.id=decodeURIComponent(f[1].split("@")[0].replace(/^.*[+]/,""));e.response={status:d.status,statusText:d.statusText,headers:d.headers};d.status!=204&&(e.response.body=d.body,e.response.result=_.Pf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},cB= function(a,b){for(var c=[];b1&&_.Uf.warn("Heterogeneous batch requests are deprecated. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");for(var d=_.Aa(Object.entries(a.rk)),e=d.next();!e.done;e=d.next()){e=_.Aa(e.value);var f=e.next().value;e=e.next().value;for(var h=!0,k=_.Aa(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.Gj(),f==="batch"&&c&&(h=!1,l.zla=!0,l.request.Lf.root=a.yf,b.push(l.request), a.bn.push([l]));if(h){var m=e;f=a.yf;h=a.sB;k=a.dX;l="batch"+String(Math.round(2147483647*_.Fi()))+String(Math.round(2147483647*_.Fi()));var n="--"+l;l="multipart/mixed; boundary="+l;for(var r={path:YA(m),method:"POST"},t=[],w=0;w0&&c.length===a.length)throw c[0];_.uk(d).then(function(e){var f=e.map(function(h){return h.Lna});e=e.map(function(h){return h.FQ});b(e,f)})}}; eB.prototype.zp=function(){var a=this;if(Object.keys(this.rk).length<1)return _.qk({});var b=gB(this).map(function(c){return new _.mk(function(d,e){return c.lj().then(d,e)})});return iA(b).then(function(c){c=c.map(function(d){return d.tA?d.value:d});return hB(a,c,!0)})}; eB.prototype.K0=function(a,b,c,d){var e={};if(c){e=b?$A:bB;b=WA(a.headers,"Content-Type").split("boundary=")[1];if(!b)throw new fA("Boundary not indicated in response.");e=e(a.body,"--"+b)}else b?(a.result=_.Pf(a.body),e[d]=a):e[d]=aB(a,d);a={};e=_.Aa(Object.entries(e));for(b=e.next();!b.done;b=e.next())if(c=_.Aa(b.value),b=c.next().value,c=c.next().value,a[b]=c,!this.jz[b])throw new fA("Could not find batch entry for id "+b+".");return a}; var hB=function(a,b,c,d,e){for(var f=!1,h={},k,l=0,m=0;m0?lA({path:f,params:{pp:0,fields:("/"+f).indexOf("/discovery/v1/apis/")>=0?"kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id":'fields["kind"],fields["name"],fields["version"],fields["rootUrl"],fields["servicePath"],fields["resources"],fields["parameters"],fields["methods"],fields["batchPath"],fields["id"]'}}).then(c,c):lA({path:qB(f, a),root:d&&d.root}).then(c,c)},rB=function(a,b,c,d,e){e=e===void 0?{}:e;var f=b.servicePath||"";_.Cc(f,"/")||(f="/"+f);var h=tB(a.path,[a.parameters,b.parameters],c||{});c=h.Hd;var k=h.Kqa;f=_.Nx(f,h.path);h=k.root;delete k.root;var l=a.parameterName;!l&&_.Kx(k)==1&&k.hasOwnProperty("resource")&&(l="resource");if(l){var m=k[l];delete k[l]}m==null&&(m=d);m==null&&a.request&&(_.Ch(k)&&(k=void 0),m=k);e=e||{};l=a.httpMethod;l=="GET"&&m!==void 0&&String(m)!=""&&(_.nh(e,"X-HTTP-Method-Override",l),l="POST"); if((m==null||d!=null)&&k)for(var n in k)typeof k[n]==="string"&&(c[n]=k[n]);return lA({path:f,method:l,params:c,headers:e,body:m,root:h||a.root,apiId:b.apiId},1)},tB=function(a,b,c){c=_.Uj(c);var d={};_.Cm(b,function(e){_.Dm(e,function(f,h){var k=f.required;if(f.location=="path")if(Object.prototype.hasOwnProperty.call(c,h))_.Ec(a,"{"+h+"}")?(f=encodeURIComponent(String(c[h])),a=a.replace("{"+h+"}",f)):_.Ec(a,"{+"+h+"}")&&(f=encodeURI(String(c[h])),a=a.replace("{+"+h+"}",f)),delete c[h];else{if(k)throw new fA("Required path parameter "+ h+" is missing.");}else f.location=="query"&&Object.prototype.hasOwnProperty.call(c,h)&&(d[h]=c[h],delete c[h])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,Hd:d,Kqa:c}};var uB=function(a,b,c,d){var e=b||"v1",f=_.tb(d)?d:{root:d};if(c)sB(a,e,function(h){if(h)if(h.error)c(h);else{var k="API discovery was unsuccessful.";if(h.message||h.message)k=h.message||h.message;c({error:k,code:0})}else c()},f);else return new _.mk(function(h,k){var l=function(m){m?k(m):h()};try{sB(a,e,l,f)}catch(m){k(m)}})},vB=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),wB=function(a,b){if(!a)throw new fA("Missing required parameters"); var c=typeof a==="object"?a:{path:a};a=c.callback;delete c.callback;b=new SA(c,b);if(c=!!_.Ye("client/xd4")&&oA()){var d=b.Lf();c=d.path;(d=d.root)&&d.charAt(d.length-1)!=="/"&&(d+="/");d&&c&&c.substr(0,d.length)===d&&(c=c.substr(d.length));c=!c.match(vB)}c&&(b=new nB(b));return a?(b.execute(a),null):b};mA.LQ(function(a){return wB.apply(null,arguments)}); var xB=function(a,b){if(!a)throw new fA("Missing required parameters");for(var c=a.split("."),d=window.gapi.client,e=0;e